home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_2
/
realm221.zip
/
DINSTALL.EXE
/
lha
/
RLMDELET.BAT
< prev
Wrap
DOS Batch File
|
1989-12-17
|
3KB
|
104 lines
echo off
cls
echo Land Of The Realm De-Installation Utility
echo .
echo This batch file will completely remove
echo The Land Of The Realm Adventure System
echo from your computer. All files will be
echo deleted, and associated subdirectories
echo will be removed. The purpose of this
echo utility is to facilitate a complete
echo re-installation of The Realm from a
echo a stock distribution archive or disk.
echo .
echo DO NOT run this utility if you wish to
echo install an upgrade or update to the
echo game. ONLY if you wish to COMPLETELY
echo remove the game from your system.
echo .
pause
cls
input "Do you wish to continue with the De-Installation? ", y,n
if errorlevel 2 goto EXIT
echo .
input "Are you sure you wish to remove The Realm?? ", y,n
if errorlevel 2 goto EXIT
echo .
cls
echo Beginning De-Install of The Realm.
pause
echo Do not abort...
echo .
echo .
echo If you wish to save your data files, in order
echo to continue the current game after you reinstall
echo The Realm, you may do so by answering 'y' to the
echo following question. If you do not wish to save
echo your data files, answer 'n'. In order to archive
echo your data files, you MUST have one of the
echo following compression utilities in your current
echo path, or in this directory: PKARC, PKZIP, or LHARC.
echo If you do not, and you wish to save your data files,
echo abort now with a CTRL-C.
echo .
input "Save data files for continuation of current game? ", y,n
if errorlevel 2 goto FINISH
cls
echo Please Select Archiving Method
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo PKARC .............. 1
echo PKZIP .............. 2
echo LHARC .............. 3
echo .
echo (Your selection of an archive MUST be either in
echo the current path or in this directory.)
echo .
input "Which method do you wish to use? ", 1,2,3
if errorlevel 3 goto LHARC
if errorlevel 2 goto PKZIP
if errorlevel 1 goto PKARC
:PKARC
cls
echo Archiving data files...
pkarc -a realmdat realmdir\*.dat
goto FINISH
:PKZIP
cls
echo Archiving data files...
pkzip -a realmdat realmdir\*.dat
goto FINISH
:LHARC
cls
echo Archiving data files...
lharc a realmdat realmdir\*.dat
:FINISH
pause
del realmdir\docs\*.doc
del realmdir\docs\*.map
del realmdir\docs\*.rlm
del realmdir\docs\readme
rd realmdir\docs
cls
del realmdir\*.dat
del realmdir\*.txt
del realmdir\*.rlm
del realmdir\*.com
del realmdir\*.bac
rd realmdir
del realm.com
del realm.0*
del filemant.bat
del rlmaint.com
del rlminst.bat
del input.exe
cls
echo ............................................
echo De-Installation Complete.
echo The Realm has been removed from your system.
echo ............................................
goto END
:EXIT
cls
echo Operation Terminated.
:END